package com.hispeed.management.service.impl;

import com.hispeed.management.domain.SysMenuInfoVo;
import com.hispeed.management.mapper.SysMenuMapper;
import com.hispeed.management.service.ISysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统菜单Service实现
 *
 * @author zhangzb
 * @create 2017-06-19 14:23
 **/
@Service
public class SysMenuServiceImpl implements ISysMenuService {

    @Autowired
    private SysMenuMapper sysMenuMapper;

    /**
     * 获取所有的系统菜单列表
     * @return
     */
    @Override
    public List<SysMenuInfoVo> getAllSysMenusInfo() {
        return sysMenuMapper.getAllSysMenusInfo();
    }
}
